package zzj.campus_book_sharing_platform.Service;

import zzj.campus_book_sharing_platform.Entity.Answer;

import javax.servlet.http.HttpSession;
import java.util.List;


public interface AnswerService {
    int insert(String answer, String postId, HttpSession session);

    int deleteById(String answerId, HttpSession session);

    List<Answer> queryAllById(String postId, HttpSession session);
}
